package task09;

import java.util.Scanner;

/**
 * @author Administrator
 */
public class FOR_scxinghao {
    public static void main(String[] args) {
        System.out.println("输入行数");
        Scanner sc = new Scanner(System.in);
//        键盘输入的数据保存在num
        int row = sc.nextInt();
//        双重循环，外循环控制行数，内循环控制列数
        for(int i=1;i<=row;i++)
        {
            for (int k=1;k<=i;k++)
            {
                System.out.print("*");
            }
            System.out.print("\n");
        }
    }

}
